package oa.hleast.xswl.pojo.form.activity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * cms_activity_calendar
 *
 * @author
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "CmsActivityCalendarForm")
public class CmsActivityCalendarForm implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 活动id
     */
    @ApiModelProperty(value = "活动id")
    @NotNull
    private Long activityId;

    /**
     * 活动类型id
     */
    @ApiModelProperty(value = "活动类型id")
    @NotNull
    private Long activityTypeId;

    @ApiModelProperty(value = "年")
    private Integer year;

    @ApiModelProperty(value = "月")
    private Integer month;

    @ApiModelProperty(value = "日")
    private Integer day;

    /**
     * 活动开始时间
     */
    @ApiModelProperty(value = "活动开始时间")
    private Date activityStartDate;

    /**
     * 活动结束时间
     */
    @ApiModelProperty(value = "活动结束时间")
    private Date activityEndDate;

}